import {
    SET_URL
} from '../mutation-types'

const state = {
    url: ''
};

const getters = {
    url: (state)=>state.url
};

const mutations = {
    [SET_URL](state, data){
        state.url = data;
    }
};

export default {
    state,
    getters,
    mutations
}